import os
from modules.module import WebsiteModule


class SegmentCalculator(WebsiteModule):
    def __init__(self, parent):
        super(SegmentCalculator, self).__init__(parent, 'segment_calculator', "段页式逻辑页号与物理位置计算器。")

    def homepage(self):
        return self.send_file('segment_calculator.html')
    
    